For some designs, yes, especially if they have a flat top shelf. Some carts are also designed to serve as a presentation station, so they’re perfectly safe for supporting equipment like laptops and keyboards. However, for carts that aren’t designed to function as a desk, using them for this purpose is not advisable as it wouldn’t be an ergonomic practice.