I don't think that is possible.
No.
It takes about 6 hours from Madrid to Lisbon and the distance is about 628 kms by car.
There are 388 miles from Lisbon to Madrid. It's a long 6 hour drive.
Madrid and Lisbon
6:66
8 hours
380 miles
Tagus
northeast
Lisbon is the second richest city in Iberia after Madrid. And it is one of the most beautiful city in Europe!
There is no high-speed train connecting Lisbon and Barcelona. The high-speed train from Barcelona to Madrid takes about 2hr and 40mins. The normal speed train from Madrid to Lisbon only leaves once a day and takes about 10hr to get from Madrid to Lisbon. It is a smarter idea to take the high-speed train to Madrid and transfer to a bus that will go to Lisbon.
387 miles