Since people have asked about this several times – yes. You just have to define the module version yourself:
class View(nn.Module):
    def __init__(self, *shape):
        super(View, self).__init__()
        self.shape = shape
    def forward(self, input):
        return input.view(*shape)

sequential_model = nn.Sequential([Linear(10, 20), View(-1, 5, 4)])