宅基地自建集装箱房子是合法的农村建造住宅属于个人建设,不涉及改变土地用途的行为。且国家并没有禁止在自家院内搭建活动板房结婚住。【法律依据】。依据《中华人民共和国典》的规定:我国实行一户一本不动产权证的原则,所以只要您的申请符合条件并经过审批后是可以建设。