Can I update my iPhone 4S on iOS 6 to iOS 8?
There won't be a problem.

I'm not 100% sure that upgrading to iOS 8 will be in your best interest, though, because I've seen lots of reports of people with 4Ss having performance problems on iOS 8.