Green’s Dictionary of Slang

freestyle v.

(orig. US black/teen)

1. to create spontaneous rap rhymes, without prior preparation.

[US]Source May 55: When I freestyle, I’m thinking about the next three lines, before the first is even finished.
[US]W. Shaw Westsiders 37: Younger rappers burst into occasional bouts of freestyling — ad-libbing rhymes — trying to impress the star.
[US]J. Fenton We Own This City 37: Jenkins loved rap music and ‘would try to freestyle battle other officers and even citizens.

2. to act in a spontaneous manner, to live by one’s own rules, to wear one’s own styles of clothes etc.

[US]‘Touré’ Portable Promised Land (ms.) 156: We Words (My Favorite Things) [...] Bumrush. Baadasss. Buckwild. Hepcat. Freestyle. Roughneck.