There are a couple options. You could present some storage and mount it over nfs. Move the whole server, as you mentioned. Set up a little http server and only put the media over there.
Or, why not take this opportunity to move away from a platform whose CEO is hostile and abusive to the community? https://techcrunch.com/2025/01/12/wordpress-vs-wp-engine-drama-explained/