Yes you can make that move. Whether or not your environments will transfer I cannot say: it depends whether they are hardware-independent like MacOS. You should have at least one (possibly two, if you're very concerned) backups of your data. These can take the forms of: clone the drive (using Carbon Copy Cloner or similar), time machine backups, or a disk image of the entire SSD. This way if there is a problem during or after the move, everything will be recoverable. After making sure your data is secure, follow a repair guide (I have found that generally iFixit and Other World Computing make good tutorials/video guides) to remove the SSD from the first computer and put it into the second computer.
A few people recommend doing NVRAM and SMC resets before booting the new combination. Try doing these and then booting. Test your apps and environments to make sure everything is working okay. I'd suggest keeping a backup on hand until you know that everything worked. If things didn't work, you can try wiping the SSD and restoring to the new computer from backup, or if you want to revert back to the old setup you knew worked, you could do that as well.
Good luck! Make sure that you understand everything before you do it. Feel free to ask questions or challenge my answer if you have heard otherwise.