It depends on whether the operator is licensed. It's not illegal to offer access to a website without a player account. It's unlawful to do so unlicensed. Always check that the online bookie is licensed to operate in your country or region.