Thank you for the question! Publishing is supported if the year and major version match and the version of FME Form is the same or older than FME Flow. The following article speaks about FME Versions and Workspace Compatibility.
If you need any further assistance please don’t hesitate to reach out!