Sounds like you're looking to go on sabbatical? A lot of bigger companies have active sabbatical leave policies. If you're happy with your current company, you could talk to HR and see their position on it, as I think it's becoming a fairly common practice in tech and elsewhere.