This thread explains how to implement HM field world effects to require having an item rather than a Pokemon knowing the HM move. That will let you use the field effect by interacting with the related object on the field. The only issue I could see is if you want to also allow using the item from the menu to activate the field effect, as presumably you'd still want the HMs to teach moves.