Is it illegal to buy pointe shoes online?

No it's not illegal. In fact, many online dance stores sell pointe shoes. Here are some links:

http://www.discountdance.com/dancewear/shoes/page1

http://www.dancewearsolutions.com/dance_shoes/pointe/Default.aspx

http://www.capezio.com/pointe-shoes