Illustrator discovers her art was used to train an AI art generator

sure totally legal and 100% of the profit goes to the data owners that is was trained on, right?