If the attic room is square and the roof is flat, it is not taboo. Specific things need specific analysis. If the inner roof of the attic is inclined, that's not good. You'd better level the ceiling. The same is true if there are beams.
Generally speaking, there will be no feng shui problem on the roof, but some European and American houses have extreme slopes and shapes in the roof design, which has formed a loss of face in feng shui.
The triangular roof or sloping roof with large inclination is called "cold shoulder house", and the feng shui pattern is not rich.
The triangular roof with a large inclination will make the air flow inside and outside the house abnormal; The sharper the roof, the greater the negative impact. Living under this deformed roof for a long time, it is easy to become neurotic and hysterical, and eventually depression becomes a disease. I suggest you avoid this attic automatically!