Boot into 64bit TianoCore from 32bit EFI



I hope this is an appropriate way to ask this question, if not, please refer me to the right group :-)
I am running Ubuntu on a Mac mini with 32bit EFI and a 64bit processor and until recently I used the 32bit EFI variant of Ubuntu which makes updates a bit more of a hassle.
Remembering that there is an UEFI implementation for raspberries I am curious whether it is possible to install tianocore to an SSD and boot from 32bit EFI into tianocore and then boot a standard 64bit Linux distribution?
Should I compile my own tianocore version? If so: should I compile a 32bit or 64bit version?
Thank you for your help.

kind regards,