Yes, On-behalf of flow is supported for guest users but you need to keep in mind that the guest accounts work for single tenant applications only. Please refer to the documentation - Who can sign in. I also recommend you to refer to the Compare B2B collaboration and B2C in Azure AD documentation to learn more about applying appropriate features to your external identity scenarios.
(Please don't forget to accept helpful replies as answer)