Of course you can do this. SEO is an abbreviation of Search Engine Optimization. This is the process of structuring a web page so that it is found, read, and indexed by search engines in the most effective manner possible.
This makes your web site and its content attractive, relevant and visible to search engines and web searchers.