If you can read about CBT in a book then you can use an app or AI bot as well. It should be tested and validated. However, there are some ethical concerns of not having a licensed professional in the loop and who can do an evaluation and monitor progress / intervene.