Thank you all for looking deeper into this, pyrevit support for RBP won’t be possible it seems like.
I will do some more testing with pyrevit run, I know in the past I have had some issues but maybe they are reolved by changing detachAndPrompt and OpenOption properties.