To enter into lotteries or do pre-orders, you need a Japanese address, which can be obtained by using a forwarding service like Tenso. To buy in stock items you can use a proxy service like Buyee (or you can still use Tenso). I’ve linked a few of the threads discussing them below - there might be better ones that I didn’t see upon a quick search though!