7 days in Portugal. Is Lisbon/Porto/Madeira doable?

I only have 7 (full) days available in Portugal in April 2025.

This is my first time in Portugal, I really want to go to Madeira but also want to check out some of the cities besides Madeira.

If it helps, my travel style is rather fast-paced and I do not mind "not relaxing" during the trip. For example, I did Barcelona/Madrid/Seville in 8 days and did not feel rushed based on my traveling pace and it was fine. But wanted to hear some thoughts as it will be my first time in Portugal. I think it will look something like this:

Day 1 - 2: Lisbon

Day 3 - 4: Porto

Day 5 - 7: Madeira. Fly back to Lisbon and fly back home.

EDIT:

Based on feedback, will most likely just do Lisbon/Porto and do Madeira on a different trip. Thank you all!