Yes, of course. The OSPF network statement with the address and wildcard mask that can encompass all interfaces is:
network 0.0.0.0 255.255.255.255 area <area>
That will put all the interfaces in the same area, so it doesn't work on ABRs.
You can then use the passive-interface <interface>
command to prevent OSPF hellos on certain interfaces, which would be what you want for interfaces that do not connect to neighbor routers. If most of the interfaces do not connect to neigbor routers, the use the passive-interface default
and individual no passive-interface <interface>
commands for the interfaces with neighbor routers.
The above only works for IPv4 and OSPFv2. With IPv6 and/or OSPFv3, the commands are placed on the individual interface configurations, not under the router ospf
configuration.