As long as the cannabis and the solvent used (99% isopropyl alcohol or Ethanol) are legal in your area, there should be no problem making it for your own use at home.