Git-annex after symlink deprecation

Is it possible to get git-annex working after symlink deprecation?

git-annex allows storing certain files outside of the Git remote, and is useful for large binary files like PDFs, video, audio, etc. It works by creating a symlink from the spot the file is supposed to exist in the git checkout to a file in .git/annex/.... This used to work, but ever since the removal of symlink support in gohugoio/hugo#11556, this is no longer possible.

git-annex stores files in directories based on their content hash, so there isn’t an easy way to replace the symlink with a mount.

Does anyone use git-annex with modern Hugo? How do you do it?

I settled on keeping git-annex files unlocked, which is fine for my use case as they change approximately never. This means when adding a file that is managed by git annex, I have to remember to git add ... and then git annex unlock ... before running git commit ....