Yes, definitly.
As I tell my boss, you can do anything in software. But besides that, what you are asking to do is exactly what LabView was developed for. It is very quick development when coding to do tests and collect data. For database input and output, I would suggest purchasing the SQL toolkit. It makes databse tasks very easy.
Good luck in your efforts,
Jared