There are many online course platforms that you can use to build and sell courses.
These include Teachable, Thinkific, Kajabi, Udemy, and more.
You can use any of them alongside your WordPress website. Depending on your needs, these platforms may offer an easier online course creation solution.
However, they’re generally more expensive and/or take a revenue share from your course sales.