No, it won't work better. It will only perform file I/O faster which may provide some slight overall performance improvement as related to disk work. Like adding more memory, these only help if your work is bottlenecked by the HDD or having too little RAM.
The major problem you may incur is the installation if you aren't familiar with a substantial disassembly of an iMac. The minor problem will be the need for a special thermal sensor to fit on the SSD. You should be able to find them at OWC along with very good SSDs. You may also need a mounting device for the smaller sized SSD.