Finally got around to setting up an x86 instance of Homebrew via Rosetta to install x86 Racket. Here's all the steps I took.
First, ensure Rosetta 2 is installed:
$ /usr/sbin/softwareupdate --install-rosetta
Then install x86-64 Homebrew. However, I've also kept the regular Apple Silicon Homebrew. Turns out they require different path prefixes anyway, so the regular one is at /opt/homebrew
while the x86 one is at /usr/loca/homebrew
. To install the x86 one, I did: