This would likely fall under the building code. And it entirely depends on the type of floor joists you have.
If you have a standard 2x? floor joist then where I am from you can run water lines through them. The issue isn't with the water lines it's with where you drill the holes. Run the water lines through the CENTER of the joist and don't drill holes bigger then you have too.