Using old table legs to hold up floor joists, yeah, that'll pass inspection! From a house I showed recently.