Hi Cyber, I have a twelve months' old diamond python that I intend to keep inside. I've done a lot of reading about them and can't see why you shouldn't be able to, but definitely put a UV light in your enclosure. It's not proven that it's a necessity, but better to be safe. Taking it out into the sunlight for 30 minutes every second day (or more) is still the best option and much better than any UV light.
Probably the most important thing is not to overfeed them, let them grow up slowly, in the first year I supplement calcium and vitamins every second feed, again, just in case.
It is very important not to keep the enclosure too hot and let them have a thermal gradient, and NO heat at nightl, and let them hibernate in winter.
There is an article on the front page of APS here about Diamond Python Syndrome that should be helpful to you.
Cheers Artie