is there any point to it ?
There are two answers :
if you're asking "is there any point to use EncryptedPacket class" then the answer is no. The implementation of the encryption algorithm is only an example and shouldn't be used to transmit "secured" data. In fact the example could have been something else like ZippedPacket for example. It's only purpose here is to show you how to subclass sf::Packet.
if you're asking "is there any point to use a custom packet to encrypt/compress/whatever my data" then the answer will differ from one scenario case to another one. It really depends on what your data are and if you really need them to be encrypted/compressed/whatever in your application.
Anyway, if you really need encryption for you data then you should not build you own encryption system (it's very very ... very hard to make a good one). Instead use something that already exists like ssl connection. There are some good libraries out there.
EDIT : I might have misunderstood your question..
i though it would be just easier to just write a struct and send it.
Yes. The tutorial explains that too. See §Packets and custom classes.