I have never tried to access the filter from the top, but I do not have as much access as you did. When my Ample Power 108A alternator was installed by the PO, all of the primary wires to the alternator and starter were upgraded to 2/0 and they are very stiff and go through the middle of that space. My engine space has full sound insulation on all four sides so there is a wall to port of the alternator.I had a Catalina 30 for about 10 years. It had an M25XP. I do not recall having any particular problem accessing the oil filter, though I sold the boat about 11 years ago and so my recollections of the oil change specifics may be fuzzy. The access to the top of the engine, not shown in your photo, is really good with the cover underneath the settee cushion removed. I'm pretty sure I accessed the filter from above. Can you provide a picture of the top view of the engine? Here's what mine looked like (when I first bought the boat). Worst case, it would seem that simply removing the (stock) alternator would give plenty of room, though I do not recall whether I had to do that.
Also, not shown in these photos, I have moved the engine blower 3"ø intake hose to directly above the alternator. This duct comes up next to the muffler and forward just below the engine space cover. I then added a cool air blower that is mounted to the port insulation wall and has another 3"ø duct that runs to directly behind the alternator to an elbow which blows the cool below floor air directly onto the rear of the alternator. Yah, it is really crowded from that side.
I have a 560Ah LFP battery bank that works my current AP 108A alternator really hard. In the spring I am going to retire it to the spare parts compartment and install a 250A large frame alternator. In my case, moving the oil filter completely out of the engine space just makes a lot of sense.