Unofficially there may be ways depending on your My Cloud’s firmware version. Again, the single bay My Cloud units currently do not officially support any third party or user created apps. It should also be noted that the processor and RAM used on the single bay My Cloud units are low powered. The My Cloud at stock is at times sluggish because of this low powered hardware. Attempting to run Wordpress or similar website program on top of the current My Cloud firmware could potentially cause the single bay My Cloud to be slow/sluggish most of the time.
If one does a forum search (magnifying glass icon upper right) they’ll see that wanting to install Wordpress has been discussed several times before. You may want to review those threads. Here are just a few of those previous threads:
https://community.wd.com/t/installing-wordpress-on-the-my-cloud-not-the-ex-or-other-ones/157779
https://community.wd.com/t/app-webhosting-for-firmware-v4-10-2015/94892
https://community.wd.com/t/hosting-a-website-on-wd-my-cloud/94766
https://community.wd.com/t/wd-my-cloud-as-web-server/91559
Unofficially and not supported by WD, and which will in all likelihood void your My Cloud warranty, one could replace their My Cloud firmware, again depending on what firmware version your My Cloud currently supports, and run programs/services like Wordpress. See the following links. Most if not all the following links deal with the older version 4.x firmware however which is older/different than version 2.x firmware the newer My Cloud units use. you cannot downgrade a v2.x My Cloud to the older v4.x firmware due to the newer units having different hardware.
https://community.wd.com/t/clean-os-debian-openmediavault-and-other-firmwares/93714
https://community.wd.com/t/app-webhosting-for-firmware-v4-10-2015/94892
https://community.wd.com/t/repository-with-software-worked-on-v4-firmware/94532