Have you tried Dendron? I'm at the point where I'm debating if I want to migrate my workflow from vscode over to emacs so I can use org-roam in a combined notes/code/documents workflow, and both dendron and foam popped up in my searching for alternatives.
I'm curious if you had any preference or reason why you went with foam.
I have no affiliation to Foam. It's just awesome.