Direct answer would be below. You didn't mention about the model of FGT but almost any ports, if not all, can be made as an MGMT port then set different IP on primary and secondary, just have the same GW IP in the same subnet.
https://docs.fortinet.com/document/fortigate/6.4.5/administration-guide/313152/out-of-band-management-with-reserved-management-interfaces
But why do you need to see GUI at the secondary? Not many situations I can think of. Interface status is in HA page at the primary's GUI, most of all HA related commands need to be executed by CLI, the rest should be identical between them.
One possible situation is when the secondary is out of sync (intentionally or unintentionally) and you want to upload a config copied&modified from primary's to force sync or speedup sync process. But other than that, I can't think of anything else GUI on secondary is needed.
Toshi