Not sure I understand the ask here.
Do you mean would VC work if you restored a 4.x database on a 5.x working VC's DB? If that's a literal restore - no it will not work!
However, if you want to create a new DB - call it 5.x and restore the 4.x DB on that, upgraded (installed) VC 5.x using that DB, yes the DB will then be upgraded to 5.x