You just described https://en.wikipedia.org/wiki/Whole-tone_scale. Nothing stopping anyone from writing and playing music in such a scale, but it won't help you with nearly all the music you are likely to be familiar with.