Anecdotally, this happened in Denver when marijuana was legalized. Since the pot shops couldn’t store money with banks, many bought homes with cash. This led to a huge increase in cash buyers and a major spike in prices.
https://www.nytimes.com/2018/01/04/magazine/where-pot-entrep...