1 . AI
It's possible, but not easy. I don't think Visual Scripting is going to be any good in this scenario. That kinda depends on what exactly would you want to do.
You should probably start with learning more about machine learning in general and use some outside library.
2 . VR
Never tried it, you should probably start with this page.