I figured this was why you were asking so specifically :)
Especially considering your mod. Looks cool, but I haven't had time to try it yet.
But this mod does not do much with entities. It does not add new entities. The only thing it has to do with entities is to get the entity you are hovering over in order to "rotate" its recipe. So it will not be any help for your case.
I am guessing you could do what you want (in your mod) with either the "on_player_setup_blueprint" or "on_player_configured_blueprint" events - maybe you can change (in the blueprint) the "rotated pipe you can't build" to something that you can build. And https://mods.factorio.com/mod/blueprint-train comes to mind as doing something of that sort, maybe take a look at that. And then discord is always an option.
Sorry I cannot help you more at this time.