The drag and drop pattern/color onto different surfaces to change
This site uses jQuery Droppable, which helps handle all the browser quirks, gives good callbacks, and makes programming something like this easier: https://jqueryui.com/droppable/
You can find a lot of Drag + Drop examples on the forums for other techniques. So the short answer is yes! But each drag+drop method has its drawbacks, it’s more about what method you’re most comfortable with.