No, it’s not mandatory. You can choose “guest” mode to avoid having to log in to place your order.
Please note, however, that logging in provides you with an optimized online experience and can speed up your ordering process if you already have a profile set up.
Please also note that you can quickly create an account and login with an existing Apple, Facebook or Google account.