-snip-
but I'm wondering whether there's a method to use the importmempool RPC (remote procedure call), which acts as an interface with a blockchain.
I'm not aware of any "
importmempool" command in Bitcoin Core, perhaps you're looking at some other Bitcoin node implementation?
If so, please specify;
While you're at it, please provide more information about your experiment so that users can give you more fitting answers.