Of course, you can. Since WordPress allows embedding HTML code anywhere in the page using its in-built HTML widget as well as page builder widgets, you can use the