Can you take your bike to work and ride at lunchtime?

Can you commute or part commute to work on your bike?

Ride in the weekends and do gym or swim during the evenings?