Las Meninas, in which Diego Velázquez depicted himself in a similar pose with brush and palette, is considered an important precedent for the Self-Portrait with Palette.
As a practical matter painters did not and do not wear formal dress while working, as it could far too easily be ruined by oil paint.