easy diy weed vape juice?

i may be stupid but what if i was to get a bunch of propylene glycol and vegetable glycerine (the main body componants in your every day vape juice) and heat infuse it with decarbed weed like butter or cooking oil then later adding nicotine and or flavouring if wanted. would this work in theory? seems too easy!