Why not, remember Hillary had a book written before sworn in New York and it came out and earned her money as she took office.
Legal...
She was paid a huge advance before she took office. So the deal was closed. After that, it’s on a per book basis.....forever.