yea, almost any 23 year old should be able to cycle 10 miles. you may be slow at first, but its not going to kill you, or at least it shouldnt.
give yourself plenty of time, go slow for the first few weeks and dont knock yourself out so you wind up hating it. good luck!