Just remember not to make anything too large as in an earthquake it will fall off the anchor points along with whatever was in the structure.
A bad use is making a book shelf. Or hanging a painting sized sheet of blocks. These would be dangerous if they fell off the wall.
Lego/Duplo is not load rated and in the theme parks they glue them together and use metal supports.