No, it's not recommended to just pull the plug. This can cause a variety of issues including corruption of your SD card and file system. It's important that your Raspberry Pi gets a clean shutdown. There are easy ways to do this and some fun projects that you create to ensure a shutdown without unplugging your device.