No, it doesn't sound right. "off the top of one's head" is normally used in relation to answering a question or supplying information. An idiom that would fit there is "at the drop of a hat".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.