You mean putting ip ospf area command? Yes you can do that. Or you can also use the network statement.
Thanks Francesco PS: Please don't forget to rate and select as validated answer if this answered your question
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: