Yes, you can make that work, however there are potential problems and perfomance issues with running both scripting engines in the same page. There are MSDN articles about that issue that you might want to read.
Without knowing specifically what you want to do here is a generic example:
<%@ language=javascript %>
<SCRIPT LANGUAGE=vbscript RUNAT=Server>
DIM g_name
function vb_getName()
if "" = g_name then g_name = "VB Variable"
vb_getName = g_name
end function
</SCRIPT>
<BODY>
<% var sVbName = vb_getName(); %>
VB Variable from javascript: <%=sVbName%>
Hope this helps
-pete