Are they all called pulse transformers? Basically what sort of search terms lead to what I am looking for, what do people call these things?
If you decide to go the pulse transformer route the key requirement is the maximum volt-time product the transformer may sustain.
Which essentially is the applied voltage (5 volts in your case) times the maximum “on” period.
This occurs at the lowest frequency and highest duty cycle.
Pulse transformers require a pulse by pulse core reset. Fortunately pulse transformers have been employed since Adam and Eve to pass signals thru isolation boundaries. There are many proven circuits.
Unitrode (nowadays TI), had an excellent app note.
Google or DuckDuckgo is your best friend here.