Literary register, often pejorative —
恣意妄为 'do as one pleases without regard for others' is a fixed phrase. The
心 'heart' radical in
恣 hints at 'following one's heart (heedlessly).' In positive contexts (children playing, artists creating) it shades into 'freely / unbridled.'