Yes, many online course website builders, such as Mobirise, allow you to set up payment gateways and sell your courses directly through the website that you build.