Spatialite tools come with ready made binaries for importing OSM data into spatialite tables. It could be at least worth having a try with the “raw” tool. http://www.gaia-gis.it/spatialite-2.4.0-4/binaries.html