In this list of unsupported xtables features. xt_bpf is listed as one of the unsupported features. The comment says to "consider native interface". But what interface is being referred to here? This is the only ever mention of bpf in the entire nftables wiki.
nftsyntax equivalent or replacement, but is not documented on the wiki.nftsyntax that is worded differently than what's worded iniptables, reading manuals from start to end may help to find it and in my case this site was was also useful to findnftequivalent.