I understand why log4net uses app.config files for setting up logging - so you can easily change how information is logged without needing to recompile your cod
app.config
Yes, you can configure log4net by calling:
log4net.Config.XmlConfigurator.Configure(XmlElement element)
See the log4net documentation.