Can I use the pwm pin 7 and 8 as motor pins in Omnibus F4 V3 pro for inav?

At this stage inav does not support resource mapping like you can on betaflight I think so the only was to do it as below:

It is technically possible but you will need to build your own target by altering the target.h file to make the motor pins differently. So you basically do the resources mapping within the target.h file