Lightbulb [Q] call a number from my other phone

Hello,

I have 2 phone lines each in a seperate Android phone. I d like to call a number from my phone but using the other line.
To explain:
I have a phone connected to internet with voip app, i can call the other phone.
when i call the other phone, i want the other phone to dial a number.
phone1 <internet> phone2 <gsm> phone3
is that possible?

Thanks,