I did once a transceiver with help of a comparator , buffer driver and two transistors, when we had to implement a type of ISO 11898 network for a 24V system and there weren’t any ready transceiver to buy.
One of the problems was to get the output stage symmetrical, so you didn’t got any DC component remains.