Are we able to tweak the source code to hard code it?
That depends on what "it" is you want to achieve.
It will be extremely difficult to change the SoftwareSerial class or the HardwareSerial class to emulate getting GPS data that accurately describes the location of the robot with no real hardware.
Damn near impossible, as a matter of fact.