[<img src="https://blend-exchange.giantcowfilms.com/embedImage.png?bid=5287" />](https://blend-exchange.giantcowfilms.com/b/5287/)

Yes, with [this add-on][1] you can do this (and more). 
[![enter image description here][2]][2]
Or, if you use 2d curves:
[![enter image description here][3]][3]

  [1]: https://youtu.be/XMimQfQR_ss
  [2]: https://i.sstatic.net/mSOAY.gif
  [3]: https://i.sstatic.net/1aCXX.gif