I’ve had heading instructions via CPDLC.
I’ve also had a CPDLC frequency change while on a radar heading and the message always(?) includes a request to inform the next sector about the assigned heading.
These scenarios have been with London and Maastricht but I can’t remember whether it was via ATN or FANS.