Yes as Amaia said one way is to embed your content in your Moodle site which works but you lose tracking capabilities for grading and reporting. The other way is to just use H5P.com's LTI integration. This way your content created on H5P.com is brought in to your Moodle site and you can edit the content on either side: Moodle or H5P.com. As a bonus, you also get access to reporting data (student analytics) and grades are stored in Moodle too.
See more about H5P.com's integrations https://h5p.org/node/287135