When we want to express "to do something as one pleases", we can use the "想 + verb +就 + verb" form in Chinese grammar.
Basic Structure
This structure is similar to how we would say in English "Whatever I want to eat, I eat" or "wherver I want to go, I go". What comes after the 想 and 就 are the same verb.
想+verb(+object)+就+verb(+object)
Examples
你想来就来。
Structure with a question word
You can also add in a question word, like 什么, 哪儿, or 怎么. When this is the case, the pronouns don't necessarily refer to any specific thing. They can be seen more as words like "whatever" or "wherver". This way, question pronouns (什么,谁,什么时候,etc) serve as "indefinite references".
想去哪儿就去哪。