I have, for many years, thought that I'd love to do that. Unfortunately ruined castles don't come on the market very often, even for those with millions to spare. Most of them are owned by trusts (National Trust for Scotland, Historic Scotland, etc).
I've wanted to do this to Castle Gloom (a.k.a. Castle Campbell).