I guess so, if you familiarize yourself with the ins’n’outs of the whole matter. A place to start your research could be my post here:
I have a Late 2009 iMac running on Fedora-Rawhide with Gnome 43 and Xfce in parallel…
If you have any specific questions, don’t hesitate to ask me, or PM.