Yep, that'll work just fine, back in the day when I did over 350 3vz installs I used to cut the oil level sensor out of the loop entirely, they were too prone to failure and causing unnecessary problems for customers, so we just ran the AFM W/B to ground to eliminate it.

Happy to have saved you the cost of buying an AFM though :)