Of course, just make sure it is encoded correctly. For example, you can JSON encode the whole model:
@model IEnumerable<MyViewModel>
<script type="text/javascript">
var model = @Html.Raw(Json.Encode(Model));
alert(model.length);
</script>
or
alert(model[2].Foo.Bar);
or something else.
( ):
var count = @Html.Raw(Json.Encode(Model.Count()));
alert(count);