I don't think there is a BOM feature in plain autocad. Some verticals like Autodesk Plant etc have this feature.
In plain autocad you can create blocks with attributes and extract this attribute information in excel. (or csv)
There may be add-ons available that make this easier.