Yes this is possible. You can build your own widgets using of html, css, and javascript. In 2.4 these widgets need to be included in the themepackage and the forms need to be adapted by hand to include this widgets on your page.
In 2.5 custom widgets can be imported in the Modeler and placed on forms, they will be exported automatically. We will also release extensive documentation of the client API and some example widgets.