
Act/play the fool
Correct Occasion
Use 'act the fool' in casual settings, not formal ones where serious behavior is expected. 
Not Insulting
'Act the fool' isn't normally used to insult someone, but to describe playful behavior. 
Self-Derision
It often implies someone is willingly being silly to entertain others without feeling embarrassed. 