Bending an elongated shape

Hello,

Could someone please tell me if it is possible to bend an object into a curve? Not objects to path, but take a single object and bend it?

Thanks in advance