Yes you can use ICloud to free up space on your Iphone and back the files up as well.
You can use the Photo Library and turn on Optimize Storage to free up space on your Iphone.
Also look for any apps or files you're not using and don't need and remove those to free up additional space on your Iphone.