How to drive a high-side logic-level power MOSFET?
In a nutshell, Yes. Some questions to ask:
1. How is BAT1 generated? Is it an isolated power supply or literally a battery?
2. How fast do you need the switching to be and at what frequency? The output driver of the optocoupler may not be up to the task. If it is just powering a load then it should be fine.
3. If the duty cycle doesn't have to be 100% and galvanic isolation is not a requirement then high-side floating gate drivers are a better bet with a simple bootstrapped power supply - https://www.infineon.com/dgdl/an-978.pdf?fileId=5546d462533600a40153559f7cf21200