Long ago, I put Shimano PD-M324 pedals on Mary’s Tour Easy, because she prefers a pedal with a platform on one side and SPD cleats on the other.

Those are newish-old-stock from the Big Box o’ Bike Parts, as she’s worn out the previous pedals.
She recently got a pair of Specialized MTB shoes:

The shoes work fine with the more-or-less standard Shimano PD-M520 double-entry SPD pedals on my bike:

But the soles jammed against the frame on the PD-M324 pedals.
So I carved away enough rubber around the cleat sockets for clearance to float properly with the cleats latched. A bit of trial-and-error, probably with a bit more to come after on-the-road experience, but definitely a step in the right direction.
Protip: always always always arrange the workpiece so the blade trajectory cannot intersect any part of your body, no matter what slips occur.