At launch, yes — Xbox 360 was the only platform. A PC version arrived later, so the exclusivity was a window rather than a permanent arrangement.
If you're on a Mac or a PlayStation, the answer at the time was simply no. Worth checking current storefronts if you're playing today, since availability has changed and the PC release is widely available now.