Ripped CD on mac - can I upload these onto iTune and while removing the music files from mac?
What you're asking for is called iTunes Match, also Apple Music. Since you don't want to pay for those I'd suggest an iTunes server instead. If you have a second mac you can set it up like this:

http://www.maclife.com/article/howtos/how_set_itunes_home_server

...or using a third party app (not free):

http://supersync.com/access.php

If you have a NAS you could use the built in iTunes server, e.g. Synology:

https://www.synology.com/en-global/knowledgebase/tutorials/632