To answer your question in the simplest sense, yes you certainly can replace a switch (dimmer or otherwise) with a remotely-controlled switch.
However, you absolutely should not use the device you have linked. As stated in the other answers and comments, that particular device is poorly designed, probably unsafe, and definitely something I would never want to permanently connect to my mains wiring.
Use a UL-listed, approved remote switching system from a well-known brand of switching devices. For example, the Lutron Caseta system does exactly what you want (not a specific product recommendation - just an example). Lutron Caseta Wireless Switches Product Site
I'm sure the other large lighting and switching manufacturers have similar products - Leviton, Hubbell, etc. I just suggested Lutron as an example because I've used a lot of their products in the past.
Best part: in addition to having to prove that their devices are designed to not burn your house down, a switch or dimmer from one of those manufacturers will also come with instructions that don't require interpretation or force you to do anything contrary to the electrical code.