In general terms, yes. A font cannot be copyrighted, so you can use any font to create a logo. However, keep in mind that in order to trademark your logo it has to be unique. It cannot be similar to another trademark already in use in your product or service category. This means that if your logo is made up of just text, it may not be unique enough to get trademarked.