I think you wouldn't be pleased if some unimportant call or, what is much worse, SPAM SMS message wakes you up. Solution would be to switch silent profile when you sleep. You can do it by hand ever day, but why not to automate it? You can use
silencer, but it has very simple logic, which silences phone when it is late, but not when you sleep. What about something more intelligent?