A similar question has been asked in another topic.
This reply has good potential:
It is quite easy to make a brush with line width that varies along the stroke but it will be a repetitive variation.
Use the brush editor to make the Size vary by Distance and make sure the ends of the curve have identical values to give seamless size changes.