With 5 days in Porto, you could absolutely create an itinerary customized to your own interests. You could take a deeper dive on art and architecture, visit all the churches of Porto, or even spend more time learning about Portuguese wine (beyond Porto) with a Douro Valley tour.