"Taksim" (improvised music) has musical measure

After many years of practising music, I realized that the "Taksim" or else
(improvised music) has musical measure.
Maybe for some people it looks weird, but I believe that is true.
This I figured out by writing many times, various "taxims" on rythm.
After then by analyzing some phrases of music, I found out that some phrases
sounded good , and others did not .
I believe that only by making many recording we can understand it perfectly.
And if this can be understood by musician , then the results of "Taksim"
will be spectacular.