Yes, it is totally okay to tell someone you trust that you are lonely. You can either voice it out in a content way or let the other person know that you might feel better with them around.