Hello and welcome.
Yes, that is a great choice for the Adobe Creative Suite. Pretty much any current Mac will run them well. Of course, you will need to make sure the version of Adobe CS is compatible with the version of macOS you use on the iMac.
The main two things to consider are the amount of RAM and storage space. The more RAM you have, the better those apps will run and the more you can have running simultaneously. Storage isn't as critical, as you can always add external storage.
-What kind of budget fo you have?
-Do you already have the Adobe CS? If so, which version?
-Do you mainly only use Photoshop and Illustrator?
-How large are the files/how many layers in a normal project?
C