Yes, you can, but it's actually harder to grip. Even though it has good knurling.
It's a thicker bar, which means it's going to tax your grip a little bit more, and because the knurling is more prominent in terms of a fully knurled shaft or a wider center knurling piece, it's aggressive.
Depending on how you pull for a deadlift, if you choose to use the squat bar for this, it's really going to eat up your shins or your socks.