To answer your question,
1. Is it possible to test GooglePubSub destination via open source account? No
2. Can i add a local pub-sub emulator on docker as destination on the
open-source control data plane? Yes by using webhook as destination. You can do the same on Rudderstack Cloud as well, and you should do it on Rudderstack Cloud only, otherwise it won't be a test of the system you want to test. RudderStack Open Source is a different system, different environement/configration, you might even say - a different product.
You might be interested to know the answer to
How to send data from Rudderstack Cloud to local pubs emulator? not straightforward but if I have to, this is what I will do
1. Setup a
webhook destination, use the url to the server where local pubsub emulator is hosted and make sure the port where local pub is running, that is accessible from outside your system (either by exposing the port or using a reverse proxy)
2. Setup a rudderstack transformation to transform data to match what's expected at google pubsub emulator