@hansw
Well yes, but generally this isnt how pure thc or cbd is made. Generally its either extracted then seperated out or simply full synthesized from scratch. Usually you dont convert one to the other or back again. Infact few people are even aware this method is possible.
With that said in theory this process is reversayble, reflux thc with a strong nonoxidizing base and you will convert it to cbd.