Could It Have Been Designed Specifically for Bags?
That’s possible, but the fixture doesn’t strongly suggest that.
Dedicated bag holders generally have some mechanism designed specifically to keep a bag open or support its handles.
This rod appears much more like a decorative household hanging bar.
The rounded ends and substantial mounting brackets suggest that it was intended to remain permanently installed and hold lightweight household items.
So the trash-bag setup may be an example of a previous homeowner finding a new use for an existing fixture.