Yes, so long as you adhere to the terms of the GPL itself, including releasing any changes you make and any code that the GPL extends to in this case (you will need advisement on this, as it depends on how you are using the GPLed code as to whether it extends to other code in your codebase).
Except for one ...
Yes this is partially allowed for GPL-2.0. The license gives three options for providing the source code when distributing binaries per its section 3:
a) accompany the binary directly with the source code
b) accompany the binary with a written offer to provide the source code
c) pass along a written offer you received (subject to restrictions)
The written ...
Section 3 of the GPL2 states:
You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of ...