I don’t see the difference between that, and mentioning a former boss, as a reference source. Like, on an application.
Especially if Obama publicly endorses Biden.
It is a double edged sword, though. Some people hated Obama, some people loved him. He might get Obama supporters, but he won’t be luring away many Trumpers…